///@coding: utf8

#include <iostream>
#include "xfile_system.hh"

std::string get_current_working_dir()
{
    std::error_code ec;
    std::filesystem::path path = std::filesystem::current_path(ec);
    //std::cout << "ec=" << ec.value() << ",msg=" << ec.message() << std::endl;
    std::string path_str(path);
    return path_str;
}